#模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('AI-ModelScope/bge-large-zh-v1.5',cache_dir='/data/model')


### 模型下载地址
### /data/model/ZhipuAI/chatglm3-6b


# 下载单个文件

# from modelscope.hub.file_download import model_file_download

# model_dir = model_file_download(model_id='AI-ModelScope/bge-large-zh-v1.5',file_path='baichuan2-13b-chat.gguf',cache_dir='/data/model')